+2008-02-15 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/Makefile.am: Don't install private headers. (#463510)
+
+ * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
+ the installed header gdkprivate.h.
+
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
makefile.msc \
gdk.symbols \
makegdkalias.pl \
- gdkaliasdef.c \
gdkenumtypes.c.template \
gdkenumtypes.h.template \
abicheck.sh \
gdkpango.h \
gdkpixbuf.h \
gdkpixmap.h \
+ gdkprivate.h \
gdkproperty.h \
gdkregion.h \
gdkrgb.h \
gdkvisual.h \
gdkwindow.h
-gdk_headers = \
- $(gdk_public_h_sources) \
- gdkenumtypes.h \
- gdkprivate.h \
+gdk_built_public_sources = \
+ gdkenumtypes.h
+
+gdk_built_private_headers = \
gdkalias.h
gdk_c_sources = \
gdkvisual.c \
gdkwindow.c
+gdk_built_sources = \
+ gdkaliasdef.c \
+ gdkenumtypes.c \
+ gdkmarshalers.h \
+ gdkmarshalers.c \
+ $(gdk_built_public_sources) \
+ $(gdk_built_private_headers)
+
#
# setup GDK sources and their dependencies
#
gdkincludedir = $(includedir)/gtk-2.0/gdk
-gdkinclude_HEADERS = $(gdk_headers)
+gdkinclude_HEADERS = $(gdk_public_h_sources) $(gdk_built_public_sources)
# gdkmarshalers.c is not here because it is currently an empty file
common_sources = \
EXTRA_LTLIBRARIES = libgdk-x11-2.0.la libgdk-win32-2.0.la libgdk-quartz-2.0.la libgdk-directfb-2.0.la
-MAINTAINERCLEANFILES = gdkenumtypes.h stamp-gdkenumtypes.h gdkenumtypes.c \
- gdkmarshalers.h gdkmarshalers.c
+MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
+EXTRA_DIST += $(gdk_built_sources)
EXTRA_HEADERS =
#
endif
#note: not gdkconfig.h
-BUILT_SOURCES = \
- gdkalias.h \
- gdkaliasdef.c \
- gdkenumtypes.h \
- gdkenumtypes.c \
- gdkmarshalers.h \
- gdkmarshalers.c \
+BUILT_SOURCES = \
+ $(gdk_built_sources) \
gdkconfig.h
gdkenumtypes.h: stamp-gdkenumtypes.h
/* Uninstalled header defining types and functions internal to GDK */
+#ifndef __GDK_INTERNALS_H__
+#define __GDK_INTERNALS_H__
+
#include <gio/gio.h>
#include <gdk/gdktypes.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdkprivate.h>
-
-#ifndef __GDK_INTERNALS_H__
-#define __GDK_INTERNALS_H__
+#ifdef USE_MEDIALIB
+#include <gdk/gdkmedialib.h>
+#endif
G_BEGIN_DECLS
#include <gdk/gdkregion.h>
#include <gdk/gdkvisual.h>
#include <gdk/gdkwindow.h>
-#ifdef USE_MEDIALIB
-#include <gdk/gdkmedialib.h>
-#endif
G_BEGIN_DECLS